package com.hwadee.job.service;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.hwadee.job.entity.Recruit;
import com.hwadee.job.util.PageInfo;

public interface RecruitService {

	int insert(Recruit record);
	
	public List<Recruit> selectAll();
	
	 List<Recruit> findByName(String rename);
	 
	 public PageInfo<Recruit> findPage(int pageIndex, int size, String rename);
	 
	 public PageInfo<Recruit> findPage1(int pageIndex, int size);
	 
	 int deleteByPrimaryKey(Integer reId);
	 
	 int updateByPrimaryKey(Recruit record);
	 Recruit selectByPrimaryKey(Integer reId);
	 
	 List<Recruit> selectKeyWord(String rename,String reCompanyName,String rePositiontype,String reDate,
				String reWorkingplace,String reMoney);
	 
//	 PageInfo<Recruit> selectKeyWord1(Integer pageIndex, Integer size,String rePositiontype,String reEdurequire,String reWorkingplace,String reMoney);

	 List<Recruit> selectKeyWord1(Integer pageIndex, Integer size,String rePositiontype,String reEdurequire,String reWorkingplace,String reMoney);
	 int reCount(String rePositiontype,String reEdurequire,String reWorkingplace,String reMoney);

	 
}
